package com.sumainfor.pc.epc.controller.housekeeper;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.epc.service.HoHousingAlterInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.io.Serializable;
import java.util.Map;

@RestController
@RequestMapping("/housekeeper/HoHousingAlterInfo")
public class HoHousingAlterInfoController implements Serializable{

    @Autowired
    private HoHousingAlterInfoService hoHousingAlterInfoService;

    /**
     *运营部服务管家根据房源配置主表编号查询房源配置变更
     */
    @PostMapping("/updateHoHai")
    public JsonResult updateHoHai(@RequestBody Map<String,Object>params) {
        return hoHousingAlterInfoService.updateHoHai(params);
    }
}
